//--ZZProfIt--
/**********************************************************************
The MIT License (MIT)
Copyright (c) 2012 sunriseyuen

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files
(the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
***********************************************************************/
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;

using Dot.StreamObject;

namespace Muki.Entity
{
	[Serializable]
		[AttributeMapping(TableName="ZNSESSIM")]
		public class ZNSESSIMEntity: EntityObject
		{

#region Field
									private	string _LOGON_AGENT_MD5="";
									private	string _LOGON_DATE_FMT="";
									private	string _LOGON_DATE_SEP="";
									private	string _LOGON_DB="";
									private	string _LOGON_ID="";
									private	DateTime _LOGON_IDLE=DateTime.MinValue;
									private	string _LOGON_IP="";
									private	string _LOGON_LANG="";
									private	string _LOGON_PIXELS="";
									private	string _LOGON_SSD="";
									private	string _LOGON_SVR="";
									private	DateTime _LOGON_TICK=DateTime.MinValue;
									private	DateTime _LOGON_TIME=DateTime.MinValue;
									private	string _LOGON_UID_CODE="";
									private	DateTime _ZADD_DATE=DateTime.MinValue;
									private	string _ZADD_USER="";
									private	DateTime _ZCHG_DATE=DateTime.MinValue;
									private	string _ZCHG_FLAG="";
									private	string _ZCHG_USER="";
									private	string _ZSECURITY_CODE1="";
									private	string _ZSECURITY_CODE2="";
									private	string _ZSECURITY_CODE3="";
									private	string _ZSECURITY_CODE4="";
									private	string _ZSECURITY_CODE5="";
									private	string _ZSECURITY_CODE6="";
									private	Int32 _ZSECURITY_RIGHT=0;
			#endregion

#region Properties
								//<Summary>
					//ZNSESSIM,LOGON_AGENT_MD5
					//</Summary>
						public string LOGON_AGENT_MD5
						{
							get { return _LOGON_AGENT_MD5; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_LOGON_AGENT_MD5))
									{
										_LOGON_AGENT_MD5 = value; 
										this.PropertyChange("LOGON_AGENT_MD5");
									}
								}else{
									_LOGON_AGENT_MD5 = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,LOGON_DATE_FMT
					//</Summary>
						public string LOGON_DATE_FMT
						{
							get { return _LOGON_DATE_FMT; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_LOGON_DATE_FMT))
									{
										_LOGON_DATE_FMT = value; 
										this.PropertyChange("LOGON_DATE_FMT");
									}
								}else{
									_LOGON_DATE_FMT = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,LOGON_DATE_SEP
					//</Summary>
						public string LOGON_DATE_SEP
						{
							get { return _LOGON_DATE_SEP; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_LOGON_DATE_SEP))
									{
										_LOGON_DATE_SEP = value; 
										this.PropertyChange("LOGON_DATE_SEP");
									}
								}else{
									_LOGON_DATE_SEP = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,LOGON_DB
					//</Summary>
						public string LOGON_DB
						{
							get { return _LOGON_DB; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_LOGON_DB))
									{
										_LOGON_DB = value; 
										this.PropertyChange("LOGON_DB");
									}
								}else{
									_LOGON_DB = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,LOGON_ID
					//</Summary>
						public string LOGON_ID
						{
							get { return _LOGON_ID; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_LOGON_ID))
									{
										_LOGON_ID = value; 
										this.PropertyChange("LOGON_ID");
									}
								}else{
									_LOGON_ID = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,LOGON_IDLE
					//</Summary>
						public DateTime LOGON_IDLE
						{
							get { return _LOGON_IDLE; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_LOGON_IDLE))
									{
										_LOGON_IDLE = value; 
										this.PropertyChange("LOGON_IDLE");
									}
								}else{
									_LOGON_IDLE = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,LOGON_IP
					//</Summary>
						public string LOGON_IP
						{
							get { return _LOGON_IP; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_LOGON_IP))
									{
										_LOGON_IP = value; 
										this.PropertyChange("LOGON_IP");
									}
								}else{
									_LOGON_IP = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,LOGON_LANG
					//</Summary>
						public string LOGON_LANG
						{
							get { return _LOGON_LANG; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_LOGON_LANG))
									{
										_LOGON_LANG = value; 
										this.PropertyChange("LOGON_LANG");
									}
								}else{
									_LOGON_LANG = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,LOGON_PIXELS
					//</Summary>
						public string LOGON_PIXELS
						{
							get { return _LOGON_PIXELS; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_LOGON_PIXELS))
									{
										_LOGON_PIXELS = value; 
										this.PropertyChange("LOGON_PIXELS");
									}
								}else{
									_LOGON_PIXELS = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,LOGON_SSD
					//</Summary>
						[AttributeMapping(PrimaryKey=true)]
						public string LOGON_SSD
						{
							get { return _LOGON_SSD; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_LOGON_SSD))
									{
										_LOGON_SSD = value; 
										this.PropertyChange("LOGON_SSD");
									}
								}else{
									_LOGON_SSD = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,LOGON_SVR
					//</Summary>
						public string LOGON_SVR
						{
							get { return _LOGON_SVR; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_LOGON_SVR))
									{
										_LOGON_SVR = value; 
										this.PropertyChange("LOGON_SVR");
									}
								}else{
									_LOGON_SVR = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,LOGON_TICK
					//</Summary>
						public DateTime LOGON_TICK
						{
							get { return _LOGON_TICK; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_LOGON_TICK))
									{
										_LOGON_TICK = value; 
										this.PropertyChange("LOGON_TICK");
									}
								}else{
									_LOGON_TICK = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,LOGON_TIME
					//</Summary>
						public DateTime LOGON_TIME
						{
							get { return _LOGON_TIME; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_LOGON_TIME))
									{
										_LOGON_TIME = value; 
										this.PropertyChange("LOGON_TIME");
									}
								}else{
									_LOGON_TIME = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,LOGON_UID_CODE
					//</Summary>
						public string LOGON_UID_CODE
						{
							get { return _LOGON_UID_CODE; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_LOGON_UID_CODE))
									{
										_LOGON_UID_CODE = value; 
										this.PropertyChange("LOGON_UID_CODE");
									}
								}else{
									_LOGON_UID_CODE = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,ZADD_DATE
					//</Summary>
						public DateTime ZADD_DATE
						{
							get { return _ZADD_DATE; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_ZADD_DATE))
									{
										_ZADD_DATE = value; 
										this.PropertyChange("ZADD_DATE");
									}
								}else{
									_ZADD_DATE = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,ZADD_USER
					//</Summary>
						public string ZADD_USER
						{
							get { return _ZADD_USER; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_ZADD_USER))
									{
										_ZADD_USER = value; 
										this.PropertyChange("ZADD_USER");
									}
								}else{
									_ZADD_USER = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,ZCHG_DATE
					//</Summary>
						public DateTime ZCHG_DATE
						{
							get { return _ZCHG_DATE; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_ZCHG_DATE))
									{
										_ZCHG_DATE = value; 
										this.PropertyChange("ZCHG_DATE");
									}
								}else{
									_ZCHG_DATE = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,ZCHG_FLAG
					//</Summary>
						public string ZCHG_FLAG
						{
							get { return _ZCHG_FLAG; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_ZCHG_FLAG))
									{
										_ZCHG_FLAG = value; 
										this.PropertyChange("ZCHG_FLAG");
									}
								}else{
									_ZCHG_FLAG = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,ZCHG_USER
					//</Summary>
						public string ZCHG_USER
						{
							get { return _ZCHG_USER; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_ZCHG_USER))
									{
										_ZCHG_USER = value; 
										this.PropertyChange("ZCHG_USER");
									}
								}else{
									_ZCHG_USER = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,ZSECURITY_CODE1
					//</Summary>
						public string ZSECURITY_CODE1
						{
							get { return _ZSECURITY_CODE1; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_ZSECURITY_CODE1))
									{
										_ZSECURITY_CODE1 = value; 
										this.PropertyChange("ZSECURITY_CODE1");
									}
								}else{
									_ZSECURITY_CODE1 = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,ZSECURITY_CODE2
					//</Summary>
						public string ZSECURITY_CODE2
						{
							get { return _ZSECURITY_CODE2; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_ZSECURITY_CODE2))
									{
										_ZSECURITY_CODE2 = value; 
										this.PropertyChange("ZSECURITY_CODE2");
									}
								}else{
									_ZSECURITY_CODE2 = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,ZSECURITY_CODE3
					//</Summary>
						public string ZSECURITY_CODE3
						{
							get { return _ZSECURITY_CODE3; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_ZSECURITY_CODE3))
									{
										_ZSECURITY_CODE3 = value; 
										this.PropertyChange("ZSECURITY_CODE3");
									}
								}else{
									_ZSECURITY_CODE3 = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,ZSECURITY_CODE4
					//</Summary>
						public string ZSECURITY_CODE4
						{
							get { return _ZSECURITY_CODE4; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_ZSECURITY_CODE4))
									{
										_ZSECURITY_CODE4 = value; 
										this.PropertyChange("ZSECURITY_CODE4");
									}
								}else{
									_ZSECURITY_CODE4 = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,ZSECURITY_CODE5
					//</Summary>
						public string ZSECURITY_CODE5
						{
							get { return _ZSECURITY_CODE5; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_ZSECURITY_CODE5))
									{
										_ZSECURITY_CODE5 = value; 
										this.PropertyChange("ZSECURITY_CODE5");
									}
								}else{
									_ZSECURITY_CODE5 = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,ZSECURITY_CODE6
					//</Summary>
						public string ZSECURITY_CODE6
						{
							get { return _ZSECURITY_CODE6; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_ZSECURITY_CODE6))
									{
										_ZSECURITY_CODE6 = value; 
										this.PropertyChange("ZSECURITY_CODE6");
									}
								}else{
									_ZSECURITY_CODE6 = value; 
								}
							}
						}
								//<Summary>
					//ZNSESSIM,ZSECURITY_RIGHT
					//</Summary>
						public Int32 ZSECURITY_RIGHT
						{
							get { return _ZSECURITY_RIGHT; }
							set 
							{
								if (this.Verified)
								{
									if (!value.Equals(_ZSECURITY_RIGHT))
									{
										_ZSECURITY_RIGHT = value; 
										this.PropertyChange("ZSECURITY_RIGHT");
									}
								}else{
									_ZSECURITY_RIGHT = value; 
								}
							}
						}
			#endregion
		}
}
